package main.dto;


/**
 * WaterUser entity. @author MyEclipse Persistence Tools
 */
public class WaterUser implements java.io.Serializable {

	// Fields

	private String username;
	private String password;
	private String permission;
	private String type;
	private String area;
	private String waterplantNum;

	// Constructors

	/** default constructor */
	public WaterUser() {
	}

	/** minimal constructor */
	public WaterUser(String username, String password) {
		this.username = username;
		this.password = password;
	}

	/** full constructor */
	public WaterUser(String username, String password, String permission,
			String type, String area ,String waterplantNum) {
		this.username = username;
		this.password = password;
		this.permission = permission;
		this.type = type;
		this.area = area;
		this.waterplantNum = waterplantNum;
	}

	// Property accessors
	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPermission() {
		return this.permission;
	}

	public void setPermission(String permission) {
		this.permission = permission;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getArea() {
		return this.area;
	}

	public void setArea(String area) {
		this.area = area;
	}
	
	public String getWaterplantNum() {
		return waterplantNum;
	}

	public void setWaterplantNum(String waterplantNum) {
		this.waterplantNum = waterplantNum;
	}
}